
package com.shop.cereshop.admin.service.wallet;

import com.shop.cereshop.admin.param.wallet.WalletParam;
import com.shop.cereshop.commons.domain.wallet.CereBuyerWallet;
import com.shop.cereshop.commons.domain.wallet.WalletTransaction;
import com.shop.cereshop.commons.exception.CoBusinessException;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 钱包流水表
 * </p>
 *
 * @author wang.yao
 * @date 2025-08-26
 */
public interface WalletTransactionService {


    void freezedWallet(@Param("param") WalletParam param) throws CoBusinessException;

    List<CereBuyerWallet> findExpiredFreeze(String now, int pageSize, Long lastId);

    int batchUnfreeze(List<Long> walletIds);
}
